import java.io.File;

public class Demo8 {
    public static void main(String[] args) {
        File scrFile=new File("./abc");
        File destFile=new File("./abc1234");
        boolean ok=scrFile.renameTo(destFile);
        System.out.println(ok);
    }
}
